ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.DirectWrite Namespace / TextLayout Class / HitTestTextRange Method / HitTestTextRange(Int32,Int32,Single,Single,HitTestMetrics[],Int32,Int32) Method

In This Topic
    HitTestTextRange(Int32,Int32,Single,Single,HitTestMetrics[],Int32,Int32) Method
    In This Topic
    HRESULT IDWriteTextLayout::HitTestTextRange([In] unsigned int textPosition,[In] unsigned int textLength,[In] float originX,[In] float originY,[Out, Buffer, Optional] DWRITE_HIT_TEST_METRICS* hitTestMetrics,[In] unsigned int maxHitTestMetricsCount,[Out] unsigned int* actualHitTestMetricsCount)
    Syntax
    'Declaration
     
    Public Overloads Function HitTestTextRange( _
       ByVal textPosition As System.Integer, _
       ByVal textLength As System.Integer, _
       ByVal originX As System.Single, _
       ByVal originY As System.Single, _
       ByVal hitTestMetrics() As HitTestMetrics, _
       ByVal maxHitTestMetricsCount As System.Integer, _
       ByRef actualHitTestMetricsCount As System.Integer _
    ) As HResult
    public HResult HitTestTextRange( 
       System.int textPosition,
       System.int textLength,
       System.float originX,
       System.float originY,
       HitTestMetrics[] hitTestMetrics,
       System.int maxHitTestMetricsCount,
       out System.int actualHitTestMetricsCount
    )

    Parameters

    textPosition
    textLength
    originX
    originY
    hitTestMetrics
    maxHitTestMetricsCount
    actualHitTestMetricsCount
    See Also